﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;

namespace lan_file_transfer 
{
    public interface I_Truck:IDisposable
    {
        event Action<string> LOG_EVENT;
        /// <summary>
        /// 连接
        /// </summary>
        /// <param name="num">开启的线程数</param>
        /// <returns></returns>
        bool connect(int threadNum = 1);
        void startSendFile(string path);
        void startRcvFile(string path);
        void stopRcvFile();
    }
}
